import request from '@/utils/request'
export default {

    getArtistList(data) {
        return request({
            url: `/admin/main/artist/findAll`,
            method: 'post',
            data
        })
    },

    addArtist(data) {
        return request({
            url: `/admin/main/artist/add`,
            method: 'post',
            data
        })
    },
    findById(id) {
        return request({
            url: `/admin/main/artist/findById/${id}`,
            method: 'GET'
        })
    }
}